<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .wrap{
      width: 500px;
      height: 300px;
      text-align: center;
      line-height: 300px;
      font-size: 30px;
      margin: 50px 0 0 50px ;
      border: 1px solid #000;
      transform: scale(0.5);
    }
  </style>
</head>
<body>
  <div class="wrap">hello world</div>
</body>
</html>